package com.ph.website.home.service;

import com.ph.website.home.base.common.CommonResult;
import com.ph.website.home.param.HomeImgParam;

import javax.validation.Valid;

public interface IHomeImgService {

    /**获取所有的轮播图*/
    CommonResult listAll();


    /**添加轮播图*/
    CommonResult add(HomeImgParam.AddParam param);

    /**修改轮播图*/
    CommonResult modify(HomeImgParam.ModifyParam param);

    /**删除轮播图*/
    CommonResult delete(HomeImgParam.DeleteParam param);
}
